package nl.windgazer.arachne.mixins;

import org.apache.tapestry5.MarkupWriter;
import org.apache.tapestry5.annotations.BeforeRenderBody;
import org.apache.tapestry5.annotations.Import;

@Import(library={"classpath:/nl/windgazer/jsrepository/Events.js","classpath:/nl/windgazer/jsrepository/LinkListener.js"})
public class PopupLink {

	//Injects and Persists
	//Properties and Parameters
	//Components
	//Events

	@BeforeRenderBody
	void addRel(MarkupWriter writer) {
		writer.getElement().attribute("rel", "popup");
	}

	//Other (check for business-logic, it should not remain here)

}
